package org.jetnuke.modules.jforum;

import javax.servlet.http.HttpServletResponse;

import net.jforum.ActionServletRequest;
import net.jforum.JForumExecutionContext;

import org.apache.velocity.VelocityContext;
import org.jetnuke.common.IAdminInfo;
import org.jetnuke.common.ICustomModule;
import org.jetnuke.common.IUserInfo;

public class Rss extends JForumBaseModule implements ICustomModule{

	public boolean[] service(ActionServletRequest request1, HttpServletResponse response, StringBuffer sb, VelocityContext vc, IUserInfo userInfo, IAdminInfo adminInfo, boolean isIndex, long time_init) throws Exception {
		// TODO Auto-generated method stub
		boolean b[]= super.service(request1, response, sb, vc, userInfo, adminInfo, isIndex,
				time_init);
		b[1]=false;
		JForumExecutionContext.setContentType("text/xml");
		return b;
	}

}
